-- GENERATED SPELL FOR [Gangled Golem] --


function spell0_8544(pUnit, Event) --@Knockdown,n/a--
pUnit:FullCastSpellOnTarget(11428,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8544', 2298, 1)
end

function Sorts_8544(pUnit, Event)
local choix_sorts_8544 = math.random(0, 0)
if choix_sorts_8544 == 0 then
pUnit:RegisterEvent('spell0_8544', 1, 1)
end
end

function mob8544_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8544', math.random(1500, 3000), 1)
end

function mob8544_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8544_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8544_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8544, 1, 'mob8544_Action')
RegisterUnitEvent(8544, 2, 'mob8544_Leave')
RegisterUnitEvent(8544, 3, 'mob8544_Kill')
RegisterUnitEvent(8544, 4, 'mob8544_Die')
